package com.health.db.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserCollectFavoriteExample extends UserCollectFavorite {
    /**
	 * 
	 */
	private static final long serialVersionUID = -5529933245051952286L;

	protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserCollectFavoriteExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRecidIsNull() {
            addCriterion("RecID is null");
            return (Criteria) this;
        }

        public Criteria andRecidIsNotNull() {
            addCriterion("RecID is not null");
            return (Criteria) this;
        }

        public Criteria andRecidEqualTo(Long value) {
            addCriterion("RecID =", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidNotEqualTo(Long value) {
            addCriterion("RecID <>", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidGreaterThan(Long value) {
            addCriterion("RecID >", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidGreaterThanOrEqualTo(Long value) {
            addCriterion("RecID >=", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidLessThan(Long value) {
            addCriterion("RecID <", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidLessThanOrEqualTo(Long value) {
            addCriterion("RecID <=", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidIn(List<Long> values) {
            addCriterion("RecID in", values, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidNotIn(List<Long> values) {
            addCriterion("RecID not in", values, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidBetween(Long value1, Long value2) {
            addCriterion("RecID between", value1, value2, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidNotBetween(Long value1, Long value2) {
            addCriterion("RecID not between", value1, value2, "recid");
            return (Criteria) this;
        }

        public Criteria andSystemidIsNull() {
            addCriterion("systemID is null");
            return (Criteria) this;
        }

        public Criteria andSystemidIsNotNull() {
            addCriterion("systemID is not null");
            return (Criteria) this;
        }

        public Criteria andSystemidEqualTo(Integer value) {
            addCriterion("systemID =", value, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidNotEqualTo(Integer value) {
            addCriterion("systemID <>", value, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidGreaterThan(Integer value) {
            addCriterion("systemID >", value, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidGreaterThanOrEqualTo(Integer value) {
            addCriterion("systemID >=", value, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidLessThan(Integer value) {
            addCriterion("systemID <", value, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidLessThanOrEqualTo(Integer value) {
            addCriterion("systemID <=", value, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidIn(List<Integer> values) {
            addCriterion("systemID in", values, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidNotIn(List<Integer> values) {
            addCriterion("systemID not in", values, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidBetween(Integer value1, Integer value2) {
            addCriterion("systemID between", value1, value2, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidNotBetween(Integer value1, Integer value2) {
            addCriterion("systemID not between", value1, value2, "systemid");
            return (Criteria) this;
        }

        public Criteria andCollectidIsNull() {
            addCriterion("CollectID is null");
            return (Criteria) this;
        }

        public Criteria andCollectidIsNotNull() {
            addCriterion("CollectID is not null");
            return (Criteria) this;
        }

        public Criteria andCollectidEqualTo(Long value) {
            addCriterion("CollectID =", value, "collectid");
            return (Criteria) this;
        }

        public Criteria andCollectidNotEqualTo(Long value) {
            addCriterion("CollectID <>", value, "collectid");
            return (Criteria) this;
        }

        public Criteria andCollectidGreaterThan(Long value) {
            addCriterion("CollectID >", value, "collectid");
            return (Criteria) this;
        }

        public Criteria andCollectidGreaterThanOrEqualTo(Long value) {
            addCriterion("CollectID >=", value, "collectid");
            return (Criteria) this;
        }

        public Criteria andCollectidLessThan(Long value) {
            addCriterion("CollectID <", value, "collectid");
            return (Criteria) this;
        }

        public Criteria andCollectidLessThanOrEqualTo(Long value) {
            addCriterion("CollectID <=", value, "collectid");
            return (Criteria) this;
        }

        public Criteria andCollectidIn(List<Long> values) {
            addCriterion("CollectID in", values, "collectid");
            return (Criteria) this;
        }

        public Criteria andCollectidNotIn(List<Long> values) {
            addCriterion("CollectID not in", values, "collectid");
            return (Criteria) this;
        }

        public Criteria andCollectidBetween(Long value1, Long value2) {
            addCriterion("CollectID between", value1, value2, "collectid");
            return (Criteria) this;
        }

        public Criteria andCollectidNotBetween(Long value1, Long value2) {
            addCriterion("CollectID not between", value1, value2, "collectid");
            return (Criteria) this;
        }

        public Criteria andCollectDateIsNull() {
            addCriterion("Collect_DATE is null");
            return (Criteria) this;
        }

        public Criteria andCollectDateIsNotNull() {
            addCriterion("Collect_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andCollectDateEqualTo(Date value) {
            addCriterion("Collect_DATE =", value, "collectDate");
            return (Criteria) this;
        }

        public Criteria andCollectDateNotEqualTo(Date value) {
            addCriterion("Collect_DATE <>", value, "collectDate");
            return (Criteria) this;
        }

        public Criteria andCollectDateGreaterThan(Date value) {
            addCriterion("Collect_DATE >", value, "collectDate");
            return (Criteria) this;
        }

        public Criteria andCollectDateGreaterThanOrEqualTo(Date value) {
            addCriterion("Collect_DATE >=", value, "collectDate");
            return (Criteria) this;
        }

        public Criteria andCollectDateLessThan(Date value) {
            addCriterion("Collect_DATE <", value, "collectDate");
            return (Criteria) this;
        }

        public Criteria andCollectDateLessThanOrEqualTo(Date value) {
            addCriterion("Collect_DATE <=", value, "collectDate");
            return (Criteria) this;
        }

        public Criteria andCollectDateIn(List<Date> values) {
            addCriterion("Collect_DATE in", values, "collectDate");
            return (Criteria) this;
        }

        public Criteria andCollectDateNotIn(List<Date> values) {
            addCriterion("Collect_DATE not in", values, "collectDate");
            return (Criteria) this;
        }

        public Criteria andCollectDateBetween(Date value1, Date value2) {
            addCriterion("Collect_DATE between", value1, value2, "collectDate");
            return (Criteria) this;
        }

        public Criteria andCollectDateNotBetween(Date value1, Date value2) {
            addCriterion("Collect_DATE not between", value1, value2, "collectDate");
            return (Criteria) this;
        }

        public Criteria andCatalogidIsNull() {
            addCriterion("CatalogID is null");
            return (Criteria) this;
        }

        public Criteria andCatalogidIsNotNull() {
            addCriterion("CatalogID is not null");
            return (Criteria) this;
        }

        public Criteria andCatalogidEqualTo(Integer value) {
            addCriterion("CatalogID =", value, "catalogid");
            return (Criteria) this;
        }

        public Criteria andCatalogidNotEqualTo(Integer value) {
            addCriterion("CatalogID <>", value, "catalogid");
            return (Criteria) this;
        }

        public Criteria andCatalogidGreaterThan(Integer value) {
            addCriterion("CatalogID >", value, "catalogid");
            return (Criteria) this;
        }

        public Criteria andCatalogidGreaterThanOrEqualTo(Integer value) {
            addCriterion("CatalogID >=", value, "catalogid");
            return (Criteria) this;
        }

        public Criteria andCatalogidLessThan(Integer value) {
            addCriterion("CatalogID <", value, "catalogid");
            return (Criteria) this;
        }

        public Criteria andCatalogidLessThanOrEqualTo(Integer value) {
            addCriterion("CatalogID <=", value, "catalogid");
            return (Criteria) this;
        }

        public Criteria andCatalogidIn(List<Integer> values) {
            addCriterion("CatalogID in", values, "catalogid");
            return (Criteria) this;
        }

        public Criteria andCatalogidNotIn(List<Integer> values) {
            addCriterion("CatalogID not in", values, "catalogid");
            return (Criteria) this;
        }

        public Criteria andCatalogidBetween(Integer value1, Integer value2) {
            addCriterion("CatalogID between", value1, value2, "catalogid");
            return (Criteria) this;
        }

        public Criteria andCatalogidNotBetween(Integer value1, Integer value2) {
            addCriterion("CatalogID not between", value1, value2, "catalogid");
            return (Criteria) this;
        }

        public Criteria andCollectoridIsNull() {
            addCriterion("CollectorID is null");
            return (Criteria) this;
        }

        public Criteria andCollectoridIsNotNull() {
            addCriterion("CollectorID is not null");
            return (Criteria) this;
        }

        public Criteria andCollectoridEqualTo(Long value) {
            addCriterion("CollectorID =", value, "collectorid");
            return (Criteria) this;
        }

        public Criteria andCollectoridNotEqualTo(Long value) {
            addCriterion("CollectorID <>", value, "collectorid");
            return (Criteria) this;
        }

        public Criteria andCollectoridGreaterThan(Long value) {
            addCriterion("CollectorID >", value, "collectorid");
            return (Criteria) this;
        }

        public Criteria andCollectoridGreaterThanOrEqualTo(Long value) {
            addCriterion("CollectorID >=", value, "collectorid");
            return (Criteria) this;
        }

        public Criteria andCollectoridLessThan(Long value) {
            addCriterion("CollectorID <", value, "collectorid");
            return (Criteria) this;
        }

        public Criteria andCollectoridLessThanOrEqualTo(Long value) {
            addCriterion("CollectorID <=", value, "collectorid");
            return (Criteria) this;
        }

        public Criteria andCollectoridIn(List<Long> values) {
            addCriterion("CollectorID in", values, "collectorid");
            return (Criteria) this;
        }

        public Criteria andCollectoridNotIn(List<Long> values) {
            addCriterion("CollectorID not in", values, "collectorid");
            return (Criteria) this;
        }

        public Criteria andCollectoridBetween(Long value1, Long value2) {
            addCriterion("CollectorID between", value1, value2, "collectorid");
            return (Criteria) this;
        }

        public Criteria andCollectoridNotBetween(Long value1, Long value2) {
            addCriterion("CollectorID not between", value1, value2, "collectorid");
            return (Criteria) this;
        }

        public Criteria andCollectionidIsNull() {
            addCriterion("CollectionID is null");
            return (Criteria) this;
        }

        public Criteria andCollectionidIsNotNull() {
            addCriterion("CollectionID is not null");
            return (Criteria) this;
        }

        public Criteria andCollectionidEqualTo(Long value) {
            addCriterion("CollectionID =", value, "collectionid");
            return (Criteria) this;
        }

        public Criteria andCollectionidNotEqualTo(Long value) {
            addCriterion("CollectionID <>", value, "collectionid");
            return (Criteria) this;
        }

        public Criteria andCollectionidGreaterThan(Long value) {
            addCriterion("CollectionID >", value, "collectionid");
            return (Criteria) this;
        }

        public Criteria andCollectionidGreaterThanOrEqualTo(Long value) {
            addCriterion("CollectionID >=", value, "collectionid");
            return (Criteria) this;
        }

        public Criteria andCollectionidLessThan(Long value) {
            addCriterion("CollectionID <", value, "collectionid");
            return (Criteria) this;
        }

        public Criteria andCollectionidLessThanOrEqualTo(Long value) {
            addCriterion("CollectionID <=", value, "collectionid");
            return (Criteria) this;
        }

        public Criteria andCollectionidIn(List<Long> values) {
            addCriterion("CollectionID in", values, "collectionid");
            return (Criteria) this;
        }

        public Criteria andCollectionidNotIn(List<Long> values) {
            addCriterion("CollectionID not in", values, "collectionid");
            return (Criteria) this;
        }

        public Criteria andCollectionidBetween(Long value1, Long value2) {
            addCriterion("CollectionID between", value1, value2, "collectionid");
            return (Criteria) this;
        }

        public Criteria andCollectionidNotBetween(Long value1, Long value2) {
            addCriterion("CollectionID not between", value1, value2, "collectionid");
            return (Criteria) this;
        }

        public Criteria andCollectionNameIsNull() {
            addCriterion("Collection_NAME is null");
            return (Criteria) this;
        }

        public Criteria andCollectionNameIsNotNull() {
            addCriterion("Collection_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andCollectionNameEqualTo(String value) {
            addCriterion("Collection_NAME =", value, "collectionName");
            return (Criteria) this;
        }

        public Criteria andCollectionNameNotEqualTo(String value) {
            addCriterion("Collection_NAME <>", value, "collectionName");
            return (Criteria) this;
        }

        public Criteria andCollectionNameGreaterThan(String value) {
            addCriterion("Collection_NAME >", value, "collectionName");
            return (Criteria) this;
        }

        public Criteria andCollectionNameGreaterThanOrEqualTo(String value) {
            addCriterion("Collection_NAME >=", value, "collectionName");
            return (Criteria) this;
        }

        public Criteria andCollectionNameLessThan(String value) {
            addCriterion("Collection_NAME <", value, "collectionName");
            return (Criteria) this;
        }

        public Criteria andCollectionNameLessThanOrEqualTo(String value) {
            addCriterion("Collection_NAME <=", value, "collectionName");
            return (Criteria) this;
        }

        public Criteria andCollectionNameLike(String value) {
            addCriterion("Collection_NAME like", value, "collectionName");
            return (Criteria) this;
        }

        public Criteria andCollectionNameNotLike(String value) {
            addCriterion("Collection_NAME not like", value, "collectionName");
            return (Criteria) this;
        }

        public Criteria andCollectionNameIn(List<String> values) {
            addCriterion("Collection_NAME in", values, "collectionName");
            return (Criteria) this;
        }

        public Criteria andCollectionNameNotIn(List<String> values) {
            addCriterion("Collection_NAME not in", values, "collectionName");
            return (Criteria) this;
        }

        public Criteria andCollectionNameBetween(String value1, String value2) {
            addCriterion("Collection_NAME between", value1, value2, "collectionName");
            return (Criteria) this;
        }

        public Criteria andCollectionNameNotBetween(String value1, String value2) {
            addCriterion("Collection_NAME not between", value1, value2, "collectionName");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagIsNull() {
            addCriterion("is_Used_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagIsNotNull() {
            addCriterion("is_Used_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagEqualTo(Short value) {
            addCriterion("is_Used_FLAG =", value, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagNotEqualTo(Short value) {
            addCriterion("is_Used_FLAG <>", value, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagGreaterThan(Short value) {
            addCriterion("is_Used_FLAG >", value, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagGreaterThanOrEqualTo(Short value) {
            addCriterion("is_Used_FLAG >=", value, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagLessThan(Short value) {
            addCriterion("is_Used_FLAG <", value, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagLessThanOrEqualTo(Short value) {
            addCriterion("is_Used_FLAG <=", value, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagIn(List<Short> values) {
            addCriterion("is_Used_FLAG in", values, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagNotIn(List<Short> values) {
            addCriterion("is_Used_FLAG not in", values, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagBetween(Short value1, Short value2) {
            addCriterion("is_Used_FLAG between", value1, value2, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagNotBetween(Short value1, Short value2) {
            addCriterion("is_Used_FLAG not between", value1, value2, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andCollectDescIsNull() {
            addCriterion("collect_DESC is null");
            return (Criteria) this;
        }

        public Criteria andCollectDescIsNotNull() {
            addCriterion("collect_DESC is not null");
            return (Criteria) this;
        }

        public Criteria andCollectDescEqualTo(String value) {
            addCriterion("collect_DESC =", value, "collectDesc");
            return (Criteria) this;
        }

        public Criteria andCollectDescNotEqualTo(String value) {
            addCriterion("collect_DESC <>", value, "collectDesc");
            return (Criteria) this;
        }

        public Criteria andCollectDescGreaterThan(String value) {
            addCriterion("collect_DESC >", value, "collectDesc");
            return (Criteria) this;
        }

        public Criteria andCollectDescGreaterThanOrEqualTo(String value) {
            addCriterion("collect_DESC >=", value, "collectDesc");
            return (Criteria) this;
        }

        public Criteria andCollectDescLessThan(String value) {
            addCriterion("collect_DESC <", value, "collectDesc");
            return (Criteria) this;
        }

        public Criteria andCollectDescLessThanOrEqualTo(String value) {
            addCriterion("collect_DESC <=", value, "collectDesc");
            return (Criteria) this;
        }

        public Criteria andCollectDescLike(String value) {
            addCriterion("collect_DESC like", value, "collectDesc");
            return (Criteria) this;
        }

        public Criteria andCollectDescNotLike(String value) {
            addCriterion("collect_DESC not like", value, "collectDesc");
            return (Criteria) this;
        }

        public Criteria andCollectDescIn(List<String> values) {
            addCriterion("collect_DESC in", values, "collectDesc");
            return (Criteria) this;
        }

        public Criteria andCollectDescNotIn(List<String> values) {
            addCriterion("collect_DESC not in", values, "collectDesc");
            return (Criteria) this;
        }

        public Criteria andCollectDescBetween(String value1, String value2) {
            addCriterion("collect_DESC between", value1, value2, "collectDesc");
            return (Criteria) this;
        }

        public Criteria andCollectDescNotBetween(String value1, String value2) {
            addCriterion("collect_DESC not between", value1, value2, "collectDesc");
            return (Criteria) this;
        }

        public Criteria andCollectDataIsNull() {
            addCriterion("collect_DATA is null");
            return (Criteria) this;
        }

        public Criteria andCollectDataIsNotNull() {
            addCriterion("collect_DATA is not null");
            return (Criteria) this;
        }

        public Criteria andCollectDataEqualTo(String value) {
            addCriterion("collect_DATA =", value, "collectData");
            return (Criteria) this;
        }

        public Criteria andCollectDataNotEqualTo(String value) {
            addCriterion("collect_DATA <>", value, "collectData");
            return (Criteria) this;
        }

        public Criteria andCollectDataGreaterThan(String value) {
            addCriterion("collect_DATA >", value, "collectData");
            return (Criteria) this;
        }

        public Criteria andCollectDataGreaterThanOrEqualTo(String value) {
            addCriterion("collect_DATA >=", value, "collectData");
            return (Criteria) this;
        }

        public Criteria andCollectDataLessThan(String value) {
            addCriterion("collect_DATA <", value, "collectData");
            return (Criteria) this;
        }

        public Criteria andCollectDataLessThanOrEqualTo(String value) {
            addCriterion("collect_DATA <=", value, "collectData");
            return (Criteria) this;
        }

        public Criteria andCollectDataLike(String value) {
            addCriterion("collect_DATA like", value, "collectData");
            return (Criteria) this;
        }

        public Criteria andCollectDataNotLike(String value) {
            addCriterion("collect_DATA not like", value, "collectData");
            return (Criteria) this;
        }

        public Criteria andCollectDataIn(List<String> values) {
            addCriterion("collect_DATA in", values, "collectData");
            return (Criteria) this;
        }

        public Criteria andCollectDataNotIn(List<String> values) {
            addCriterion("collect_DATA not in", values, "collectData");
            return (Criteria) this;
        }

        public Criteria andCollectDataBetween(String value1, String value2) {
            addCriterion("collect_DATA between", value1, value2, "collectData");
            return (Criteria) this;
        }

        public Criteria andCollectDataNotBetween(String value1, String value2) {
            addCriterion("collect_DATA not between", value1, value2, "collectData");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("comment is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("comment is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("comment =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("comment <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("comment >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("comment >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("comment <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("comment <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("comment like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("comment not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("comment in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("comment not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("comment between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("comment not between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_DATE is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_DATE =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_DATE <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_DATE >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_DATE >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_DATE <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_DATE <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_DATE in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_DATE not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_DATE between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_DATE not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_DATE is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_DATE =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_DATE <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_DATE >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_DATE >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_DATE <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_DATE <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_DATE in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_DATE not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_DATE between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_DATE not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridIsNull() {
            addCriterion("update_UserID is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridIsNotNull() {
            addCriterion("update_UserID is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridEqualTo(Long value) {
            addCriterion("update_UserID =", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridNotEqualTo(Long value) {
            addCriterion("update_UserID <>", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridGreaterThan(Long value) {
            addCriterion("update_UserID >", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridGreaterThanOrEqualTo(Long value) {
            addCriterion("update_UserID >=", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridLessThan(Long value) {
            addCriterion("update_UserID <", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridLessThanOrEqualTo(Long value) {
            addCriterion("update_UserID <=", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridIn(List<Long> values) {
            addCriterion("update_UserID in", values, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridNotIn(List<Long> values) {
            addCriterion("update_UserID not in", values, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridBetween(Long value1, Long value2) {
            addCriterion("update_UserID between", value1, value2, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridNotBetween(Long value1, Long value2) {
            addCriterion("update_UserID not between", value1, value2, "updateUserid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}